<div class="container">
  <div class="logo">
    <a href="">{$sys.basic.site_title}</a></div>
  <div class="left_open">
    <a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
  </div>
  <ul class="layui-nav left fast-add" lay-filter="">
    <li class="layui-nav-item" title="前台">
      <a href="/" target="_blank"><i class="layui-icon layui-icon-website"></i></a>
    </li>
    <li class="layui-nav-item" title="清理缓存">
      <a href="javascript:;" id="cache"><i class="layui-icon layui-icon-fonts-clear"></i></a>
    </li>
  </ul>
  <ul class="layui-nav right" lay-filter="">
    <li class="layui-nav-item">
      <a href="javascript:;">{:session('admin.username')}</a>
      <dl class="layui-nav-child">
        <!-- 二级菜单 -->
        <dd>
          <a onclick="xadmin.open('修改密码','{:url(\'login/password\')}?id={:session(\'admin.id\')}')">修改密码</a></dd>
        <dd>
          <a href="{:url('admin/index/logout')}">退出</a></dd>
      </dl>
    </li>
  </ul>
</div>